package cn.yuanqiao.feignService;

import cn.yuanqiao.common.constant.UserConstants;
import cn.yuanqiao.common.core.domain.R;
import cn.yuanqiao.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.StringUtils;

import java.util.List;

/**
 * @ProjectName: cn.yuanqiao.feignService
 * @ClassName: RemoteSysDeptService
 * @Author: lenovo
 * @Description: hbWang
 * @Date: 2024/7/23 14:05
 * @Version: 1.0
 **/
public interface RemoteSysDeptService {

    public R<SysDept> getInfoApi(Long deptId);


    public R<SysDept> addAsync(SysDept dept);


    public R<SysDept> getParentAsync(String deptName, String tenantCode) ;


    public R<Integer> editAsync(SysDept dept) ;


    public R<Integer> removeAsync(Long deptId) ;


    public R<List<SysDept>> getDeptListByDeptName(String deptName, String tenantCode) ;
}
